package org.ytor.core.sqlflow.builder;

/**
 * created by yangtong on 2025/8/11 17:53:04
 * <br/>
 * SQL 构建过程中的包装器
 */
public class BuilderWrapper {

    private final String exprValue;

    public BuilderWrapper(String exprValue) {
        this.exprValue = exprValue;
    }

    /**
     * 将参数直接拼接到 SQL 上，而不是拼接占位符: ?
     */
    public static BuilderWrapper expr(String expr) {
        return new BuilderWrapper(expr);
    }

    public String exprValue() {
        return exprValue;
    }

}
